import 'package:dk_flutter_base/src/ui/widget/dk_app_bar.dart';
import 'package:flutter/cupertino.dart';

class AppBarWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      title: 'Flutter Demo',
      theme: CupertinoThemeData(),
      home: CupertinoPageScaffold(
        navigationBar: CupertinoNavigationBar(
          leading: CupertinoButton(
              child: Icon(
                CupertinoIcons.back,
                color: CupertinoColors.black,
              ),
              onPressed: null),
          middle: Text("标题"),
        ),
        child: Text("111111111111111"),
      ),
    );
  }
}
